﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000AF7 RID: 2807
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MazePropState : IMessage<MazePropState>, IMessage, IEquatable<MazePropState>, IDeepCloneable<MazePropState>, IBufferMessage
	{
		// Token: 0x17002372 RID: 9074
		// (get) Token: 0x06007DAE RID: 32174 RVA: 0x0014F654 File Offset: 0x0014D854
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MazePropState> Parser
		{
			get
			{
				return MazePropState._parser;
			}
		}

		// Token: 0x17002373 RID: 9075
		// (get) Token: 0x06007DAF RID: 32175 RVA: 0x0014F65B File Offset: 0x0014D85B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MazePropStateReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002374 RID: 9076
		// (get) Token: 0x06007DB0 RID: 32176 RVA: 0x0014F66D File Offset: 0x0014D86D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MazePropState.Descriptor;
			}
		}

		// Token: 0x06007DB1 RID: 32177 RVA: 0x0014F674 File Offset: 0x0014D874
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MazePropState()
		{
		}

		// Token: 0x06007DB2 RID: 32178 RVA: 0x0014F67C File Offset: 0x0014D87C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MazePropState(MazePropState other) : this()
		{
			this.configId_ = other.configId_;
			this.groupId_ = other.groupId_;
			this.state_ = other.state_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06007DB3 RID: 32179 RVA: 0x0014F6B9 File Offset: 0x0014D8B9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MazePropState Clone()
		{
			return new MazePropState(this);
		}

		// Token: 0x17002375 RID: 9077
		// (get) Token: 0x06007DB4 RID: 32180 RVA: 0x0014F6C1 File Offset: 0x0014D8C1
		// (set) Token: 0x06007DB5 RID: 32181 RVA: 0x0014F6C9 File Offset: 0x0014D8C9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ConfigId
		{
			get
			{
				return this.configId_;
			}
			set
			{
				this.configId_ = value;
			}
		}

		// Token: 0x17002376 RID: 9078
		// (get) Token: 0x06007DB6 RID: 32182 RVA: 0x0014F6D2 File Offset: 0x0014D8D2
		// (set) Token: 0x06007DB7 RID: 32183 RVA: 0x0014F6DA File Offset: 0x0014D8DA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint GroupId
		{
			get
			{
				return this.groupId_;
			}
			set
			{
				this.groupId_ = value;
			}
		}

		// Token: 0x17002377 RID: 9079
		// (get) Token: 0x06007DB8 RID: 32184 RVA: 0x0014F6E3 File Offset: 0x0014D8E3
		// (set) Token: 0x06007DB9 RID: 32185 RVA: 0x0014F6EB File Offset: 0x0014D8EB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint State
		{
			get
			{
				return this.state_;
			}
			set
			{
				this.state_ = value;
			}
		}

		// Token: 0x06007DBA RID: 32186 RVA: 0x0014F6F4 File Offset: 0x0014D8F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MazePropState);
		}

		// Token: 0x06007DBB RID: 32187 RVA: 0x0014F704 File Offset: 0x0014D904
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MazePropState other)
		{
			return other != null && (other == this || (this.ConfigId == other.ConfigId && this.GroupId == other.GroupId && this.State == other.State && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06007DBC RID: 32188 RVA: 0x0014F760 File Offset: 0x0014D960
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.ConfigId != 0U)
			{
				num ^= this.ConfigId.GetHashCode();
			}
			if (this.GroupId != 0U)
			{
				num ^= this.GroupId.GetHashCode();
			}
			if (this.State != 0U)
			{
				num ^= this.State.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06007DBD RID: 32189 RVA: 0x0014F7D1 File Offset: 0x0014D9D1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06007DBE RID: 32190 RVA: 0x0014F7D9 File Offset: 0x0014D9D9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06007DBF RID: 32191 RVA: 0x0014F7E4 File Offset: 0x0014D9E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.GroupId != 0U)
			{
				output.WriteRawTag(48);
				output.WriteUInt32(this.GroupId);
			}
			if (this.ConfigId != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.ConfigId);
			}
			if (this.State != 0U)
			{
				output.WriteRawTag(120);
				output.WriteUInt32(this.State);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06007DC0 RID: 32192 RVA: 0x0014F85C File Offset: 0x0014DA5C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.ConfigId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ConfigId);
			}
			if (this.GroupId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.GroupId);
			}
			if (this.State != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.State);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06007DC1 RID: 32193 RVA: 0x0014F8CC File Offset: 0x0014DACC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MazePropState other)
		{
			if (other == null)
			{
				return;
			}
			if (other.ConfigId != 0U)
			{
				this.ConfigId = other.ConfigId;
			}
			if (other.GroupId != 0U)
			{
				this.GroupId = other.GroupId;
			}
			if (other.State != 0U)
			{
				this.State = other.State;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06007DC2 RID: 32194 RVA: 0x0014F930 File Offset: 0x0014DB30
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06007DC3 RID: 32195 RVA: 0x0014F93C File Offset: 0x0014DB3C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 48U)
				{
					if (num != 104U)
					{
						if (num != 120U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.State = input.ReadUInt32();
						}
					}
					else
					{
						this.ConfigId = input.ReadUInt32();
					}
				}
				else
				{
					this.GroupId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04003003 RID: 12291
		private static readonly MessageParser<MazePropState> _parser = new MessageParser<MazePropState>(() => new MazePropState());

		// Token: 0x04003004 RID: 12292
		private UnknownFieldSet _unknownFields;

		// Token: 0x04003005 RID: 12293
		public const int ConfigIdFieldNumber = 13;

		// Token: 0x04003006 RID: 12294
		private uint configId_;

		// Token: 0x04003007 RID: 12295
		public const int GroupIdFieldNumber = 6;

		// Token: 0x04003008 RID: 12296
		private uint groupId_;

		// Token: 0x04003009 RID: 12297
		public const int StateFieldNumber = 15;

		// Token: 0x0400300A RID: 12298
		private uint state_;
	}
}
